package com.jifen.mch.dao;

import com.jifen.common.BaseDao;
import com.jifen.mch.entity.MchBill;
import com.jifen.mch.entity.MchJifenDetail;
import com.jifen.mch.vo.MchBillVo;
import com.jifen.mch.vo.MchParam;
import java.util.List;
import java.util.Map;

public interface MchJifenDetailDao extends BaseDao<MchJifenDetail> {

    List<MchJifenDetail> selectPage(MchParam param);

    MchBill sumBillJifenByMonth(MchParam param);

    List<MchBill> sumBillJifenByDays(MchParam param);

    Double sumJifenByDay(MchParam param);

    Double sumJifenByMonth(MchParam param);

    Double sumJifenByTotal(MchParam param);

    Double sumAgentTotalOutJifen(int id);
}
